#ifndef __UIPAUSE_H__
#define __UIPAUSE_H__
#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace cocos2d::gui;
class UIPause : public CCLayer
{
public:
	UIPause();
	~UIPause();

public:
	enum EUIPauseTag
	{
		EUIPauseTag_menu = 4,
		EUIPauseTag_play = 5,
		EUIPauseTag_retry = 6
	};

public:
	void  onMenu(CCObject* pSender, TouchEventType eType);
	void  onPlay(CCObject* pSender, TouchEventType eType);
	void  onRetry(CCObject* pSender, TouchEventType eType);

public:
	void onEnter();
	void onExit();

	bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent) { return true; }

public:
	static UIPause* create();
	bool init();
};

#endif